class Roulette
  # To change this template use File | Settings | File Templates.
  def method_missing(name,*args)
      person = name.to_s.capitalize
      super unless %w[Bob Frank Bill].include?person
      number = 0
      3.times do
        number = rand(10) + 1
        puts "#{number}..."
      end
    "#{person} got a #{number}"
  end
end

number_of = Roulette.new
puts number_of.bob
puts number_of.frank

puts Object.instance_methods.grep /^d/